package com.mdd.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel("门店实体")
public class Store implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "store_id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键ID")
    private String storeId;

    @ApiModelProperty(value = "门店编号")
    private String storeCode;

    @ApiModelProperty(value = "门店名称")
    private String storeName;

    @ApiModelProperty(value = "联系人")
    private String contact;

    @ApiModelProperty(value = "联系手机号")
    private String mobile;

    @ApiModelProperty(value = "省")
    private Long province;

    @ApiModelProperty(value = "市")
    private Long city;

    @ApiModelProperty(value = "区")
    private Long district;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "定价方式: 0=总部定价, 1=门店定价")
    private Integer priceType;

    @ApiModelProperty(value = "营业周天,逗号隔开如 1,2,3,4,5,6,7")
    private String weekdays;

    @ApiModelProperty(value = "营业开始时间")
    private String businessStartTime;

    @ApiModelProperty(value = "营业结束时间")
    private String businessEndTime;

    @ApiModelProperty(value = "外卖配送距离")
    private BigDecimal deliveryDistance;

    @ApiModelProperty(value = "配送方式:1-自提;0-外卖;")
    private String deliveryMethod;

    @ApiModelProperty(value = "外卖起送价格")
    private BigDecimal deliveryPrice;

    @ApiModelProperty(value = "外卖配送运费")
    private BigDecimal deliveryFreight;

    @ApiModelProperty(value = "门店状态:1-启用;0-停用;")
    private Integer status;

    @ApiModelProperty(value = "门店简介")
    private String remark;

    @ApiModelProperty(value = "是否删除: 0=否, 1=是")
    private Integer isDelete;

    @ApiModelProperty(value = "创建时间")
    private Long createTime;

    @ApiModelProperty(value = "更新时间")
    private Long updateTime;

    @ApiModelProperty(value = "删除时间")
    private Long deleteTime;

    @ApiModelProperty(value = "管理员Id")
    private Integer userId;

}
